package foodmaterial.service;

import foodmaterial.dto.ProcessBillDto;
import foodmaterial.dto.ProductionLineDto;
import foodmaterial.dto.PurchasePlanDto;
import foodmaterial.dto.StockBillDto;
import foodmaterial.entity.*;

import java.util.List;

public interface StockService {

    int addStockBill(StockBill stockBill) ;

    int modifyStockBill(StockBill stockBill) ;

    List<StockBill> queryStockBill(StockBillDto dto) ;

    StockBill queryModifyBill(Long billId) ;

    List<StockBillDetail> queryStockBillDetail(Long billId) ;

    List<StockBill> queryPrintStockBill(List<Long> billIds) ;

    String addProductionLine(ProductionLine productionLine);

    String modifyProductionLine(ProductionLine productionLine) ;

    List<ProductionLine> queryProductionLine(ProductionLineDto dto) ;

    int addProcessBill(ProcessBill processBill) ;

    int modifyProcessBill(ProcessBill processBill) ;

    List<ProcessBill> queryProcessBill(ProcessBillDto dto) ;

    ProcessBill queryModifyProcessBill(Long processBillId) ;

    List<ProcessBillDetail> queryProcessBillDetail(Long processBillId) ;

    List<ProcessBillDetail> queryTotalProcess(ProcessBillDto dto) ;

    List<ProcessBill> queryPrintProcessBill(List<Long> billIds) ;

    List<ProcessBillDetail> queryProcessPlan(PurchasePlanDto dto) ;

}
